<div class="navbar-inner">
	<div class="container-fluid">
		<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
		</a>
		<a class="brand" href="javascript:void(0)"> <img alt="Charisma Logo" src="<%=server.img%>img/logo20.png" /> <span><% if(user.role==0) {%> 管理平台 <% }else{ %> 客服平台 <% } %></span></a>
		
		<div class="top-nav nav-collapse">
	
		</div>
		<!-- user dropdown starts -->
		<div class="btn-group pull-right" >
			<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
				<i class="icon-user"></i><span class="hidden-phone"> <% if(user) {  %> <%=user.realname%> <% }%></span>
				<span class="caret"></span>
			</a>
			<ul class="dropdown-menu">
				<li><a class="btn-setting" href="javascript:showChangePwd()">修改密码</a></li>
				<li class="divider"></li>
				<li><a href="<%=server.site%>logout">退出</a></li>
			</ul>
		</div>
		<!-- user dropdown ends -->
	</div>
</div>
